package mson;

import java.util.HashMap;
import java.util.Map;

public class Person {

	private int id;

	private String name;

	private String[] hobbies;

	private Map<Person, String> map = new HashMap<>();

	private Map<String, Person> map2 = new HashMap<>();

	public int getId() {
		return id;
	}

	public String[] getHobbies() {
		return hobbies;
	}

	public void setHobbies(String[] hobbies) {
		this.hobbies = hobbies;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Map<Person, String> getMap() {
		return map;
	}

	public void setMap(Map<Person, String> map) {
		this.map = map;
	}

	public void putMap(Person key, String value) {
		map.put(key, value);
	}

	public Map<String, Person> getMap2() {
		return map2;
	}

	public void setMap2(Map<String, Person> map2) {
		this.map2 = map2;
	}

	public void putMap2(String key, Person p) {
		map2.put(key, p);
	}

}
